<template>
  <div class="home">
   <van-search
  v-model="value"
  shape="round"
  background="#87CEEB"
  placeholder="请输入搜索关键词"
   @click="onSearch"
/>
  </div>
</template>

<script>

export default {
  data() {
    return {
      
    }
  },
  methods:{
    onSearch(){
      this.$router.push({
        path:'/search'
      })
    }
  }
}
</script>
